package com.langChain4j;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author linjun
 * @date 2025/8/20 14:09
 * @description
 */
@Slf4j
@SpringBootApplication(scanBasePackages = {"com.langChain4j", "com.base.frame"})
@EnableAsync
public class langchain4jApplicationBootstrap {

    public static void main(String[] args) {
        // 初始化本地库
        new SpringApplicationBuilder(langchain4jApplicationBootstrap.class).web(WebApplicationType.SERVLET).run(args);
        log.info("langchain4j服务启动完成!");
    }

}
